﻿using AVIS.OutBound.Contents.Cache;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.Contents
{
    public interface IContentManager
    {
        /// <summary>
        /// 获取最新的特惠活动
        /// </summary>
        /// <returns></returns>
        List<PromotionInfo> GetLasterPromotions();

        /// <summary>
        /// 获取指定ID的特惠详情
        /// </summary>
        /// <param name="Id">内容ID</param>
        /// <returns></returns>
        PromotionInfo GetPromotion(int Id);

        /// <summary>
        /// 获取banner
        /// </summary>
        /// <returns></returns>
        List<Banner> GetBanner();

        /// <summary>
        /// 获取指定装备类型的车辆信息
        /// </summary>
        /// <param name="Type"></param>
        /// <returns></returns>
        Content GetContentEquipments(string Type);
    }
}
